<?php
	class carconfig{
		//显示配置信息
		public function carconf(){
			$carconfoobj = M('carconf');
			$data = $carconfoobj -> get_carinfo_one();
			VIEW::assign(array('carconf' => $data));
		}
		
		//显示厂牌信息
		public function carlabel(){
			$carconfoobj = M('carlabel');
			$data = $carconfoobj -> get_carinfo_list();
			VIEW::assign(array('carlabel' => $data));
		}
		
		//显示图片信息
		public function carpic($carpic){
			$carconfoobj = M('carpic');
			$data = $carconfoobj -> getcarpic($carpic);
			VIEW::assign(array('carpic' => $data));
		}
	}
?>